#测试脚本
import requests

#定义接口地址
url = 'http://localhost:8000/register/'

#定义参数
data = {'username':'test','password':123}

#向接口发起请求
res = requests.get(url=url,params=data)

print(res.text)
